package com.devunion.salon.client.app.bean;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

import java.io.Serializable;

/**
 * @author Timoshenko Alexander 01.03.2009 : 11:01:22
 */
public class StateBeanModel extends BaseTreeModel implements Serializable {
    public StateBeanModel() {
        super();
    }

    public StateBeanModel(String code, String value) {
        setCode(code);
        setValue(value);
    }    

    public String getCode() {
        return get("code");
    }

    public void setCode(String code) {
        set("code", code);
    }

    public String getValue() {
        return get("value");
    }

    public void setValue(String value) {
        set("value", value);
    }
}
